// <copyright file="ScriptDescriptorArgs.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

using System;
using System.ComponentModel;
using System.Web.UI;

namespace YUIAspNet.Common
{
    /// <summary>
    /// Internal class used to pass a ScriptDescriptor
    /// to a class that inherits YUIScriptBaseControl, in order to register any
    /// </summary>
    [ToolboxItem(false)]

    internal class ScriptDescriptorArgs : EventArgs
    {
        internal ScriptDescriptor Descriptor;

        /// <summary>
        /// Initializes a new instance of the <see cref="ScriptDescriptorArgs"/> class.
        /// </summary>
        /// <param name="descriptor">The descriptor.</param>
        internal ScriptDescriptorArgs(ScriptDescriptor descriptor)
        {
            Descriptor = descriptor;
        }
    }
}
